package team.you.ticket.service;

import team.you.ticket.pojo.Car;
import team.you.ticket.pojo.Result;

public interface CarService {
    //获取所有车辆信息
    Result getAllCars(Integer page, Integer limit);
    //新增车辆
    Result add(Car car);
    //删除信息
    Result del(String id);
    //批量删除
    Result delete(String[] ids);
    //单元格编辑
    Result update(String id, String value, String field);

    Result selectByLike(String value, String type, Integer page, Integer limit);
}
